#ifndef __CE_ASSET_READER_ASSETREADERPROGRAM_H__
#define __CE_ASSET_READER_ASSETREADERPROGRAM_H__


#include <asset/assetreader.h>

class cffNode;
class ceAssetReaderProgram : public iAssetReader
{
  CE_OBJECT
private:

    bool TestRequirements (cffNode* requirementsNode);
  cffNode* FindNode (cffNode* parent, const char* name);
public:
  ceAssetReaderProgram ();

  bool CanRead(ceEngine *engine, ceAssetTypeID type, const ceAssetLocator &locator);

  ceRef<ceAsset> Read(ceEngine *engine, ceAssetTypeID type, const ceAssetLocator &locator);
};

#endif /* ! __CE_ASSET_READER_ASSETREADERPROGRAM_H__ */

